Objective-C : expected ']' before ';' token
Posted
by Max Fraser
on Stack Overflow
See other posts from Stack Overflow
or by Max Fraser
Published on 2010-06-17T13:38:49Z
Indexed on
2010/06/17
14:03 UTC
Read the original article
Hit count: 223
Trying to follow some basic examples and getting stuck by this code that is EXACTLY like the example I am following:
[[NSUserDefaults standardUserDefaults] setObject:@"Sample Text" forKey:kWordsOfWisdom];
gives me the error:
expected ']' before ';' token
© Stack Overflow or respective owner